//
//  customSlider.h
//  customSlider
//
//  Created by sxiaojian on 14-9-10.
//  Copyright (c) 2014年 sxiaojian. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface customSlider : UIControl 

/**
 用法 ：
 拖一个view
 _continuousSlider.minimumValue = 100;
 _continuousSlider.maximumValue = 500;
 _continuousSlider.value = 200;
 [_continuousSlider setMaxTrackImageName:@"cm_btn_btm_oval_prs" MinTrackImageName:@"cm_btn" thumbImageName:@"cm_trcl_paly" LeftCapWidth:25 topCapHeight:15 thumbNextImage:@"cm_trcl_pause" thumbHighLightImage:@"cm_trcl_drag_prs"];
 */
@property(nonatomic) float value;
@property(nonatomic) float minimumValue;
@property(nonatomic) float maximumValue;
@property(nonatomic,getter=isContinuous) BOOL continuous;   // if set, value change events are generated any time the value changes due to dragging. default = YES

-(void)setMaxTrackImageName:(NSString*)MaxTrackImageName MinTrackImageName:(NSString*)MinTrackImageName thumbImageName:(NSString*)thumbImageName LeftCapWidth:(int)LeftCapWidth topCapHeight:(int)TopCapHeight thumbNextImage:(NSString *)thumbNextImageName thumbHighLightImage:(NSString *)thumbHighLightImageName;
-(void)changeByother;
@end
